import request from '@/utils/request'
import {stringFormat} from '@/utils/common'

// 检查表记录是否唯一
export function checkUnique(code, operType, data) {
  return request({
    url: stringFormat('/func/chkUq/{0}/{1}', code, operType),
    method: 'post',
    data: data
  })
}
